﻿namespace Labthink.PCSoft.UniversalHost4.Model
{
    public partial class FullData
    {
        private string _changeReason;

        public bool Enabled { get; set; } = true;

        /// <summary>
        /// 修改原因
        /// </summary>
        public string ChangeReason
        {
            get => _changeReason;

            set
            {
                _changeReason = value;
                OnPropertyChanged(nameof(ChangeReason));
            }
        }

        /// <summary>
        /// UpDownStep
        /// </summary>
        public string Step { get; set; }

        /// <summary>
        /// 对应数据库字段
        /// </summary>
        public string Col { get; set; }

        /// <summary>
        /// 是否是关键参数
        /// </summary>
        public bool IsKey { get; set; } = true;

        /// <summary>
        /// 是否从界面隐藏（针对自动赋值的参数，如操作者、试验日期、试验时间）
        /// </summary>
        public bool IsHide { get; set; } = true;
    }
}
